From 41cfb270ed3001a67270d5f4332778841d180b89 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 12 Jul 2005 16:52:55 +0000 Subject: [PATCH] Fix the same confusion here, too. 2005-07-12 Matthias Clasen * tests/testcairo.c (draw): Fix the same confusion here, too. --- ChangeLog | 2 ++ ChangeLog.pre-2-10 | 2 ++ ChangeLog.pre-2-8 | 2 ++ tests/testcairo.c | 6 +++--- 4 files changed, 9 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 7538740941..ff9e419d5c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2005-07-12 Matthias Clasen + * tests/testcairo.c (draw): Fix the same confusion here, too. + * gdk/gdkgc.c (make_stipple_tile_surface): Fix cairo_content_t <-> cairo_format_t confusion. (#310086, Carlos Garnacho Parro) diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 7538740941..ff9e419d5c 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,5 +1,7 @@ 2005-07-12 Matthias Clasen + * tests/testcairo.c (draw): Fix the same confusion here, too. + * gdk/gdkgc.c (make_stipple_tile_surface): Fix cairo_content_t <-> cairo_format_t confusion. (#310086, Carlos Garnacho Parro) diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 7538740941..ff9e419d5c 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,5 +1,7 @@ 2005-07-12 Matthias Clasen + * tests/testcairo.c (draw): Fix the same confusion here, too. + * gdk/gdkgc.c (make_stipple_tile_surface): Fix cairo_content_t <-> cairo_format_t confusion. (#310086, Carlos Garnacho Parro) diff --git a/tests/testcairo.c b/tests/testcairo.c index 918ebff974..1d1c20815b 100644 --- a/tests/testcairo.c +++ b/tests/testcairo.c @@ -129,19 +129,19 @@ draw (cairo_t *cr, double yc = height / 2.; overlay = cairo_surface_create_similar (cairo_get_target (cr), - CAIRO_FORMAT_ARGB32, + CAIRO_CONTENT_COLOR_ALPHA, width, height); if (overlay == NULL) return; punch = cairo_surface_create_similar (cairo_get_target (cr), - CAIRO_FORMAT_A8, + CAIRO_CONTENT_ALPHA, width, height); if (punch == NULL) return; circles = cairo_surface_create_similar (cairo_get_target (cr), - CAIRO_FORMAT_ARGB32, + CAIRO_FORMAT_COLOR_ALPHA, width, height); if (circles == NULL) return; -- 2.30.2